class AddDetailsToRooms < ActiveRecord::Migration
  def self.up
    add_column :rooms, :max_players, :integer
    add_column :rooms, :min_players, :integer
    add_column :rooms, :max_cps, :integer
    add_column :rooms, :status, :string
    add_column :rooms, :manager_id, :integer
  end

  def self.down
    remove_column :rooms, :manager_id
    remove_column :rooms, :status
    remove_column :rooms, :max_cps
    remove_column :rooms, :min_players
    remove_column :rooms, :max_players
  end
end
